how to save data to text file python

43

how to save data to text file python -

with open('readme.txt', 'w') as f:
    f.write('readme')
Code language: JavaScript (javascript)

Comments

Submit
0 Comments